package com.xtoneict.auth.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
public class LeaveDay {

    @TableId(value = "leave_day_id",type = IdType.AUTO)
    private Integer leaveDayId;

    private Integer employeeId;

    @TableField(value = "leave_detail_id")
    private Integer leaveDetailId;

    private Integer yearMonthId;

    private Integer day;

    /**
     * 是否是半天
     * true:半天, false:整天
     */
    private boolean halfDay;

}
